<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Home extends CI_Controller {

	function __construct() {
        parent::__construct();   
        $this->load->library('Parser');
    }
	public function index()
    {
        $result=array();
        $data=array(); 
       	$data['content']=$this->load->view('common/home',$data,true);
		$this->load->view('template',$data);
	}
    public function messagebox()
    {
        $data['sitetitle']="Message";
        $result['slideshows']=$this->common_model->getSlideshows('subpage');
        $data['content']=$this->load->view('common/messagebox_tpl',$result,true);
        $this->load->view('template',$data);
    }
}

/* End of file home.php */
/* Location: ./application/controllers/home.php */